import q2
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D

modelA=q2.dingjiaModel('model.pkl')
result=modelA.predict(q2.allJingWeiB)
result=result.T[0]
Jing=[i[0] for i in q2.allJingWeiB]
Wei=[i[1] for i in q2.allJingWeiB]

fig = plt.figure()
ax = Axes3D(fig)
ax.scatter(Jing, Wei, result,c='blue')
plt.show()